package cn.qingyun.gis.modules.enterprise.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企业表
 * </p>
 *
 * @author skb
 * @since 2024-03-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("enterprise")
@ApiModel(value="Enterprise对象", description="企业表")
public class Enterprise implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "高德poi_id")
    @TableField("poi_id")
    private String poiId;

    @ApiModelProperty(value = "高德poi_name")
    @TableField("poi_name")
    private String poiName;

    @ApiModelProperty(value = "高德poi_address")
    @TableField("poi_address")
    private String poiAddress;

    @ApiModelProperty(value = "经度")
    @TableField("lon")
    private BigDecimal lon;

    @ApiModelProperty(value = "纬度")
    @TableField("lat")
    private BigDecimal lat;

    @ApiModelProperty(value = "企业编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "企业名称")
    @TableField("name")
    private String name;


    @ApiModelProperty(value = "企业地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "客户经理")
    @TableField("account_manager")
    private String accountManager;

    @ApiModelProperty(value = "联系方式")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "纳管成员（人）")
    @TableField("members")
    private Integer members;

    @ApiModelProperty(value = "上月收入")
    @TableField("last_month_income")
    private String lastMonthIncome;

    @ApiModelProperty(value = "年度累计收入")
    @TableField("year_income")
    private String yearIncome;

    @ApiModelProperty(value = "合作业务")
    @TableField("business")
    private String business;

    @ApiModelProperty(value = "潜在商机")
    @TableField("potential_opportunity")
    private String potentialOpportunity;

    @ApiModelProperty(value = "是否覆盖（0：未覆盖，1：已覆盖）")
    @TableField("is_cover")
    private Integer isCover;

    @ApiModelProperty(value = "是否建档（0：未建档，1：已建档）")
    @TableField("is_documentation")
    private Integer isDocumentation;

    @ApiModelProperty(value = "是否合作（0：未合作，1：已合作）")
    @TableField("is_cooperate")
    private Integer isCooperate;

    @ApiModelProperty(value = "合作金额")
    @TableField("cooperate_amount")
    private String cooperateAmount;

    @ApiModelProperty(value = "归属网格编码")
    @TableField("grid_code")
    private String gridCode;

    @ApiModelProperty(value = "归属建筑")
    @TableField("building_code")
    private String buildingCode;

    @ApiModelProperty(value = "归属建筑类型")
    @TableField("building_type")
    private String buildingType;


}
